package com.demo.service.impl;

import com.demo.domain.User;
import com.demo.service.UserService;
import org.apache.dubbo.config.annotation.Service;

import java.util.Date;
import java.util.UUID;

@Service(version = "1.0.0")
public class UserServiceImpl implements UserService {
    @Override
    public User queryUsers() {
        User user = new User();
        user.setUserId(UUID.randomUUID().toString());
        user.setUserName("用户名");
        user.setAge(10);
        user.setBirthday(new Date());
        return user;
    }
}
